package com.cc.bsp.service;

import java.util.List;

import com.cc.bsp.dto.IDtoEnitity;
import com.cc.bsp.exception.ServiceException;
import com.cc.bsp.persistence.dao.IQueryPageOrder;

public interface IRootService {

	IDtoEnitity findById(java.io.Serializable id) throws ServiceException;

	IDtoEnitity findOne(IDtoEnitity dto) throws ServiceException;

	List<IDtoEnitity> findList(IDtoEnitity dto, IQueryPageOrder pageOrder) throws ServiceException;

	List<IDtoEnitity> findList(IDtoEnitity dto) throws ServiceException;

	List<IDtoEnitity> findAll(IDtoEnitity dto, IQueryPageOrder pageOrder) throws ServiceException;

	List<IDtoEnitity> findAll(IDtoEnitity dto) throws ServiceException;
}
